package dk.app.resharylogo;

import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.view.View;

public class OrangeView extends View {
	private static Paint paint;

	public OrangeView(Context context) {
		super(context);

		paint = new Paint();
	  paint.setStrokeWidth(20);
	  paint.setColor(Color.RED);
	  paint.setStyle(Paint.Style.STROKE);
	}
	
	@Override
	protected void onDraw(Canvas canvas) {
		super.onDraw(canvas);
		
		int height = this.getMeasuredHeight();
	  int width = this.getMeasuredWidth();
	   
	  // Draw a border
	  canvas.drawRect(10, 10, width-10, height-10, paint);
		
		
		
	}

}
